import sys
import re
import random

sys.path.append('./')
sys.path.append('/Users/xuchaosheng/anaconda3/lib/python3.6/site-packages')

from config import *

from knowledgeGraph import *
from brandCollege import *
from matchingPoints import *
from overseaCollege import *
from famousInternet import *
from industryKeyword import *
from foreignEnterprise import *
from managementExperience import *
from gameEnterprise import *
from gameProduct import *

with app.test_request_context():
    url_for('static', filename = '*')


@app.route('/matchingPoints')
def matchingPoints_html():
    return render_template('/matchingPoints.html')


@app.route('/managementExperience')
def managementExperience_html():
    return render_template('/managementExperience.html')


@app.route('/famousInternet')
def famousInternet_html():
    return render_template('/famousInternet.html')


@app.route('/industryKeyword')
def industryKeyword_html():
    return render_template('/industryKeyword.html')


@app.route('/brandCollege')
def brandCollege_html():
    return render_template('/brandCollege.html')


@app.route('/overseaCollege')
def overseaCollege_html():
    return render_template('/overseaCollege.html')


@app.route('/foreignEnterprise')
def foreignEnterprise_html():
    return render_template('/foreignEnterprise.html')


@app.route('/skilGraph')
def skilGraph_html():
    return render_template('/skilGraph.html')


@app.route('/gameProduct')
def gameProduct_html():
    return render_template('/gameProduct.html')


@app.route('/gameEnterprise')
def gameEnterprise_html():
    return render_template('/gameEnterprise.html')


if __name__ == '__main__':
    app.config['DEBUG'] = True
    app.jinja_env.auto_reload = True
    app.config['TEMPLATES_AUTO_RELOAD'] = True
    app.jinja_env.variable_start_string = '{$${'
    app.run(host = '0.0.0.0', port = 8088, threaded = True)
